package com.xxl.job.executor.service.jobhandler;

import com.xxl.job.executor.annotation.AsyncCommonJob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author lukaidong
 * @date 2024/02/25
 * @description
 */
@Component
public class BatchJob02 {
    private static Logger logger = LoggerFactory.getLogger(BatchJob02.class);

    @AsyncCommonJob(jobName = "batchJob02")
    public void execute() throws Exception {
        long startTime = System.currentTimeMillis();
        logger.info("batchJob02，开始...");
        logger.info("batchJob02，结束...");
    }

}
